﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Chapter04
{
    public partial class Example108 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            userAgentLabel.Text =
                "浏览器使用的平台: " + Request.Browser.Platform + "<br>" +
                "浏览器类型: " + Request.Browser.Type + "<br>" +
                "浏览器版本" + Request.Browser.Version;
        }
    }
}